<me:UITMKRF  x:Class="WPFExcelReport.TSAV33AM"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"
     xmlns:Localization="clr-namespace:Localization;assembly=Localization"
     xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"
             xmlns:WF="clr-namespace:WPFExcelReport;assembly=TICC_WFEVENTS"
             
    xmlns:me="clr-namespace:WPFExcelReport"
    x:Name="TV"
    Loaded="Window_Loaded"
 >
    <me:UITMKRF.Resources>
        <ucd:SubStrConverter x:Key="substr"/>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
         <ucd:Divideby1440  x:Key="day"/>
        <ucd:Divideby480  x:Key="shift"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PNumConverter x:Key="pnum"/>
        <ucd:NOTConverter x:Key="not"/>
        <ucd:EearlyEndGrade x:Key="edc"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UITMKRF.Resources>
    <Grid  >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
        </Grid.RowDefinitions> 
        <DataGrid  Grid.Row="1" CanUserReorderColumns="True"  
                   FontSize="12"
                   Height="{Binding zAV33Height,ElementName=TV}"
                   CanUserResizeRows="True" CanUserSortColumns="True"                  
                   AutoGenerateColumns="False"   
                   EnableRowVirtualization="True"  
                   RowDetailsVisibilityMode="VisibleWhenSelected" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                   IsSynchronizedWithCurrentItem="True" Opacity="10" Visibility="Visible"
                   ItemsSource="{Binding Source={StaticResource vwMaster}}"  
                    x:Name="dlgMaster" 
                  >
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding Path=ABPFARBE}" Header="{Binding Source={Localization:TranslateExtension Word=色号}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=ABFAUFKRS}" Header=" "  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=ABFAUFLFD, Converter={StaticResource ResourceKey=pnum}}" Header="{Binding Source={Localization:TranslateExtension Word=生产单}}"  Width="Auto" />
            </DataGrid.Columns>
        </DataGrid  >
    </Grid>
</me:UITMKRF>
